<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Variable</title>
    <script>
        let num1 = 10;
        let num2 = num1;

        let object = new Object();
        object.name = "张三";
        let object2 = object;
        alert(object2.name);//张三

    </script>

</head>
<body>
变量、作用域、内存问题一
</body>
</html>